const microVideo = {
  path: 'micro-video',
  name: 'micro-video',
  redirect: '/admin/share-library/micro-video/micro-manage',
  meta: { title: '示范微视频', type: 5 },
  component: () => import('@/layout/admin/public.vue'),
  children: [
    {
      path: 'micro-create',
      name: 'micro-create',
      meta: { library: '微视频', type: 5 },
      component: () =>
        import('@/views/Admin/courseLibrary/courseList/index.vue'),
    },
    {
      path: 'micro-manage',
      name: 'micro-manage',
      meta: { title: '微视频库管理', type: 5 },
      redirect: '/admin/share-library/micro-video/micro-create',
      component: () => import('@/views/Admin/microVideo/microManage/index.vue'),
      children: [
        {
          path: 'micro-info',
          name: 'micro-info',
          meta: { title: '元素库信息', type: 5 },
          component: () =>
            import('@/views/Admin/microVideo/microManage/microInfo/index.vue'),
        },
        {
          path: 'micro-chapter',
          name: 'micro-chapter',
          meta: { title: '资源管理', type: 5 },
          component: () =>
            import(
              '@/views/Admin/microVideo/microManage/microChapter/index.vue'
            ),
        },
        {
          path: 'material-file',
          name: 'material-file',
          meta: { title: '素材附件管理', type: 5 },
          component: () =>
            import(
              '@/views/Admin/microVideo/microManage/materialFile/index.vue'
            ),
        },
        {
          path: 'micro-other',
          name: 'micro-other',
          meta: { title: '其他功能', type: 5 },
          component: () =>
            import(
              '@/views/Admin/courseLibrary/courseManage/courseOther/index.vue'
            ),
        },
      ],
    },

    // {
    //     path: 'micro-knowledge',
    //     name: 'micro-knowledge',
    //     redirect: '/admin/share-library/micro-video/micro-knowledge/micro-create',
    //     meta: { title: '知识点管理', type: 5},
    //     component: () => import('@/views/Admin/courseLibrary/knowledge/index.vue'),
    //     children: [
    //         {
    //             path: 'knowledge-create',
    //             name: 'micro-knowledge-create',
    //             meta: { title: '知识点创建', type: 5},
    //             component: () => import('@/views/Admin/courseLibrary/knowledge/knowledge/index.vue')
    //         },
    //         {
    //             path: 'knowledge-setting',
    //             name: 'micro-knowledge-setting',
    //             meta: { title: '知识点设置', type: 5},
    //             component: () => import('@/views/Admin/courseLibrary/knowledge/knowledgeManage/index.vue')
    //         },
    //     ]
    // },
    // {
    //     path: 'micro-classify',
    //     name: 'micro-classify',
    //     meta: { title: '微视频库分类', type: 5},
    //     component: () => import('@/views/Admin/microVideo/microClassify/index.vue')
    // },
    // {
    //     path: 'micro-label',
    //     name: 'micro-label',
    //     meta: { title: '课程标签', type: 5},
    //     component: () => import('@/views/Admin/courseLibrary/courseLabel/index.vue')
    // },
  ],
}
export default microVideo
